import service from "./request";

//权限列表
export const GetRights = (type)=>{
    return service({
        method:'get',
        url:'/rights/'+type,
    })
}

export const GetRoles = (type)=>{
    return service({
        method:'get',
        url:'/roles/',
    })
}